home *** CD-ROM | disk | FTP | other *** search
- echo off
- if "%1"=="/?" goto usage
- if "%1"=="" goto usage
- d /IWW %1 %2 %3 %4 %5 %6 %7 %8 %9
- goto exit
- :usage
- echo.
- echo Search whole drive(s) for files/dirs matching specified filespec(s).
- echo USAGE: WHEREIS p1 p2 p2 ..pn
- echo Where "p1 p2..pn" are search options, for example:
- echo.
- echo WHEREIS FRED* "Files matching FRED*"
- echo WHEREIS /Tc A: "Files modified today and copy to A:"
- echo WHEREIS /}5k'Lost' "Files greater than 5k containing the string 'Lost'"
- echo.
- :exit
-